import { defineStore } from "pinia";
import { useStorage } from "@vueuse/core";
import { ref } from "vue";

export const useCollapseStore = defineStore('collapseStore', () => {
    let collapse = useStorage('collapse').value === 'true' ? ref(true) : ref(true);
    return{
        collapse
    }
})